package com.hu.zhcc.shiro.dao;

import com.hu.zhcc.shiro.entity.bo.CheckGroup;
import com.hu.zhcc.shiro.entity.bo.CheckItem;

import java.util.List;
import java.util.Map;

public interface CheckGroupDAO {
    int add(CheckGroup checkGroup);

    void setCheckGroupAndCheckItem(Map map);

    List<CheckGroup> findByCondition(String queryString);

    CheckGroup findById(Integer id);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    int edit(CheckGroup checkGroup);

    void deleteAssocication(Integer id);

    int delete(Integer id);

    List<CheckGroup> selectBySetmealId(Integer id);
}
